/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com)
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Integer
                        signupId,//Integer 报名ID
                        name,//String 作品名称
                        url,//String 作品连接
                        mark,//Integer 作品分数
                        judgeId,//Long 评委ID,评分后写入
                        state,//Integer 0:未评分 1：已完成评分 2:发布成绩
                        createTime,//LocalDateTime 上传时间
                        videoUrl,//String 视频地址
                        imgUrl,//String 图片地址
                        docUrl,//String
                        scheduleId,//Integer 赛程ID
                        matchId,//Integer 赛程ID
                        zoneId,//Integer 赛区ID
                        gradeId,//Integer 组别ID
                    }
    }
}
 */
// 分页查询
function MathWorkPageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/mathwork/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function MathWorkqueryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/mathwork/queryList","post",query,SuccessFunc,FailedFunc);
}
// 插入数据
function MathWorkaddObj(obj,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/mathwork/save", "post", obj,SuccessFunc,FailedFunc)
}
// 主键获取数据
function MathWorkgetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/mathwork/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function MathWorkupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/mathwork/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function MathWorkupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/mathwork/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function MathWorkdelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/mathwork/delete/"+id,"get",{},SuccessFunc,FailedFunc);
}
